import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useStore = defineStore(
  'config',
  () => {
    const config = ref({
      url: '',
      saveDirectory: 'd'
    })
    return {
      config
    }
  },
  {
    persist: true
  }
)
